@import "../common/mixin.scss";
@import "../common/var.scss";
// 顶部图片
.rm-shop-i-bigimg1 {
    width: 100%;
}

// 店铺首页-第一个分类板块
.rm-shop-i-cate1 {
    display: flex;
    .mb-15 {
        margin-bottom: 15px;
    }
    .mr-14 {
        margin-right: 14px;
    }
    .cate1-img1 {
        width: 390px;
        height: 284px;
    }
    .cate1-img2 {
        width: 390px;
        height: 566px;
    }
}

// 店铺首页-第2个分类板块
.rm-shop-i-cate2-wrap {
    margin: 60px 0;
}

.rm-shop-i-cate2-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 28px;
    text-align: center;
}

.rm-shop-i-cate2 {
    display: flex;
    .mr-2 {
        margin-right: 2px;
    }
    .mb-2 {
        margin-bottom: 2px;
    }
    .cate2-left {
        display: flex;
        .cate2-img1 {
            width: 200px;
            height: 338px;
        }
    }
    .cate2-right {
        display: flex;
        .cate2-img2 {
            width: 146px;
            height: 168px;
        }
    }
}

// 店铺首页-第3个分类板块
.rm-shop-i-cate3-wrap {
    margin: 60px 62px 0 62px;
    .mr-60 {
        margin-right: 60px;
    }
    .mb-38 {
        margin-bottom: 38px;
    }
    .cate3-item {
        display: flex;
    }
    .cate3-item-info {
        margin-top: 24px;
        font-size: 20px;
        color: $fc-base;
        text-align: center;
    }
    .cate3-item-blank {
        display: inline-block;
        width: 28px;
        height: 1px;
    }
}

// 店铺首页-尖货
.rm-shop-i-jianhuo-wrap {
    padding: 60px 0 35px 0;
}

.jianhuo-biaoti {
    font-size: 40px;
    color: $fc-base;
    margin-bottom: 52px;
    text-align: center;
}

// 店铺首页-尖货列表
.rm-shop-i-products {
    display: flex;
    flex-wrap: wrap;
}

.rm-shop-i-pro-item {
    width: 224px;
    margin-right: 20px;
    &:nth-child(5n) {
        margin-right: 0;
    }
    img {
        width: 224px;
        height: 286px;
    }
    .pro-title {
        font-size: 12px;
        color: $fc-base;
        line-height: 18px;
        margin-top: 7px;
        padding: 0 4px;
    }
    .pro-info {
        font-size: 14px;
        color: $fc-title-gray;
        margin: 10px 0 25px 0;
        padding: 0 4px;
    }
    .pro-price {
        color: $fc-red;
    }
    .pro-sellcount {
        margin-left: 15px;
    }
}

// 热门-新品-顶部图片
.rm-shop-new-topimg {
    width: 100%;
    margin-bottom: 30px;
}

// 热门品牌-顶部图片
.rm-pp-topimg {
    width: 100%;
}

// 热门品牌-内容
.rm-pp-shop-box {
    margin-bottom: 60px;
    .shop-title {
        font-size: 28px;
        color: $fc-base;
        margin: 47px 0 19px 0;
    }
    .shop-desc {
        color: #b9b9b9;
        font-size: 14px;
    }
    .shop-list {
        display: flex;
        flex-wrap: wrap;
        .shop-item {
            width: 175px;
            height: 169px;
            margin: 0 30px 30px 0;
            position: relative;
            &:nth-child(6n) {
                margin-right: 0;
            }
            img {
                max-width: 100%;
                max-height: 100%;
            }
            .shop-info {
                position: absolute;
                left: 0;
                right: 0;
                top: 0;
                bottom: 0;
                background-color: rgba(0, 0, 0, .2);
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                .name {
                    font-size: 16px;
                    position: absolute;
                    bottom: 40px
                }
                .line {
                    width: 30px;
                    height: 1px;
                    background-color: #fff;
                }
                .img-wrap {
                    width: 175px;
                    height: 90px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }
            }
        }
    }
    .more-wrap {
        margin: 0 auto;
        display: flex;
        align-items: center;
        width: 158px;
        height: 38px;
        border: 1px solid $border-gray;
        font-size: 16px;
        color: $fc-title-gray;
        justify-content: center;
        .i-wrap {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background-color: $fc-title-gray;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-left: 8px;
            margin-bottom: -2px;
        }
    }
}

// 热门品牌-店铺促销
.rm-cuxiao-cupon-title {
    text-align: center;
    .title-zh {
        font-size: 28px;
        color: $fc-base;
        position: relative;
        margin-bottom: 12px;
        margin-top: 40px;
        &:before {
            position: absolute;
            content: '';
            background-color: #d9d9d9;
            height: 1px;
            width: 117px;
            left: 33%;
            top: 50%;
        }
        &:after {
            position: absolute;
            content: '';
            background-color: #d9d9d9;
            height: 1px;
            width: 117px;
            top: 50%;
            right: 33%;
        }
    }
    .title-en {
        font-size: 12px;
        color: #cbcbcb;
    }
}

.rm-shop-cuxiao-wrap {
    .title {
        padding: 20px 0;
        font-size: 16px;
        color: $fc-base;
    }
}